package hello;

public class HelloSpring {
	
	public HelloSpring() {
		System.out.println("HelloSpring()");
	}
	
	public HelloSpring(String who,String name,int age) {
		System.out.println("HelloSpring(String who)");
		this.who = who;
		this.age=age;
		this.name = name;
	}
	
	private String name;
	
	private int age;
	
	private String who;
	
	public void print(){
		System.out.println("Hello,"+this.getWho()+"��������"+this.getName()+"�����䣺"+this.getAge());
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public String getWho() {
		return who;
	}

	public void setWho(String who) {
		this.who = who;
	}
	
	

}
